package com.rsxy.service.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.rsxy.service.mapper.UserMapper;
import com.rsxy.service.pojo.RsUser;
import com.rsxy.service.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class UserServiceImpl extends ServiceImpl<UserMapper, RsUser> implements UserService {

    @Override
    public List<RsUser> getAllUser() {
        return this.baseMapper.getAllUser();
    }

    @Override
    public IPage<RsUser> selectUserInfoByGtFraction(IPage<RsUser> page, Long fraction) {
        return this.baseMapper.selectUserInfoByGtFraction(page,fraction);
    }
}
